<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>滴滴法律</title>
	<link rel="stylesheet" type="text/css" href="css/normalize.css">
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="css/style.css">
	<!--[if lt IE 9]> 
		<script> src="js/html5shiv.min.js"></script> 
	<![endif]-->
</head>
<body>
	<div class="well well-sm">律师管理 / 待审核其他</div>
	<table class="table table-striped table-hover">
		<thead>
			<tr>
				<th>编号</th>
				<th>姓名</th>
				<th>所在地</th>
				<th>账号/邮箱</th>
				<th>创建时间</th>
				<th>状态</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${lawyers}" var="stu"> 
			<tr>
				<td>${stu.userid}</td>
				<td>${stu.name}</td>
				<td>${stu.provinceName}</td>
				<td>${stu.mail}</td>
				<td><fmt:formatDate value="${stu.time}" pattern="yyyy-MM-dd hh:mm:ss"/></td>
				<td>
					<a href="lawyer/student/audit/${stu.applyId}" class="btn btn-info btn-xs">待审核</a>
				</td>										
			</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>